package com.zygh.policeasset.controller;

import com.zygh.policeasset.mapper.AssetDisposalMapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/assetDisposal"})
@Api(tags = {"资产处置查询"})
@RestController
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/controller/AssetDisposalController.class */
public class AssetDisposalController {
    @Autowired
    AssetDisposalMapper assetDisposalMapper;

    @RequestMapping(value = {"/findById"}, method = {RequestMethod.GET})
    @ApiOperation("通过资产id资产处置情况")
    public Object findById(@RequestParam(value = "id", required = false) Integer id, @RequestParam(value = "time1", required = false) String time1, @RequestParam(value = "time2", required = false) String time2) {
        return this.assetDisposalMapper.findById(id, time1, time2);
    }
}